Don't stretch switches in Widget Factory
authorNikita Churaev <lamefun.x0r@gmail.com>
Mon, 5 May 2014 19:54:33 +0000 (23:54 +0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 May 2014 14:48:22 +0000 (10:48 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=729594

demos/widget-factory/widget-factory.ui

index c96c625ce1dc582dc79e84e169f3a9b9961e3377..9c3b2dfaab6a903c913ec871179f8a4120796ced 100644 (file)
@@ -883,6 +883,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                           <object class="GtkSwitch" id="switch1">
                             <property name="visible">True</property>
                             <property name="sensitive">True</property>
+                            <property name="halign">center</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -894,6 +895,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                           <object class="GtkSwitch" id="switch2">
                             <property name="visible">True</property>
                             <property name="sensitive">False</property>
+                            <property name="halign">center</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>